#ifndef PLAY_H
#define PLAY_H
#include"mycoin.h"
#include <QMainWindow>

class play : public QMainWindow
{
    Q_OBJECT
public:
    //explicit play(QWidget *parent = nullptr);
    play(int levelNum);

    int levelIndex;

    int gameArray[4][4]; //二维数组数据
    void paintEvent(QPaintEvent *);
    int isWin = 0;
        mycoin * coinBtn[4][4]; //金币按钮数组
signals:
    void Choosebackbutton();
public slots:
};

#endif // PLAY_H
